﻿<%@ Page Title="" Language="C#" MasterPageFile="~/CPSite.Master" AutoEventWireup="true" CodeBehind="StudentResult.aspx.cs" Inherits="WebTemplate.ControlPanel.Account.StudentResult" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <fieldset>
        <legend>Result</legend>
        <div class="form">
            <p>
                <asp:Label ID="semesterdate" runat="server" Text="Current Semester" AssociatedControlID="CurrentSemester"></asp:Label>
                <asp:Label ID="CurrentSemester" runat="server"></asp:Label>
            </p>
            <br />
            <p>
                <asp:Label ID="coursegrade" runat="server" Text="Course" AssociatedControlID="Course"></asp:Label>
                <asp:DropDownList ID="Course" runat="server">
                    <asp:ListItem Text="Select Course" Selected="True" Value=""></asp:ListItem>
                </asp:DropDownList>
            </p>
            <br />
            <p>
                <asp:GridView ID="Students" runat="server" AllowSorting="true" AutoGenerateColumns="false" GridLines="None" DataKeyNames="ID"
                     AllowPaging="true" PageSize="15" PagerStyle-CssClass="pagger" OnPageIndexChanging="Students_PageIndexChanging" OnSorting="Students_Sorting" OnRowCommand="Students_RowCommand">
                    <Columns>
                        <asp:BoundField DataField="Name" HeaderText="Name" SortExpression="Name" />
                        <asp:TemplateField HeaderText='<%=  %>'></asp:TemplateField>
                    </Columns>
                </asp:GridView>
            </p>
        </div>
    </fieldset>
</asp:Content>
